
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<style>
    .manage {
        font-size: 22px;
        top: 50%;
        text-align: center;
        margin: auto;
    }

    .form1 {
        font-size: 22px;
        top: 50%;
        text-align: center;
        margin: auto;
    }
</style>
<div class="manage">
    <form id="regForm" method="post" action="/addServlet" onsubmit="return checkForm(this);">
        <table class="form1">
            <h1>添加空气质量信息</h1>
            监测区域:<select name="quyu">
                        <option value="默认" selected>请选择</option>
                        <option>西城区</option>
                        <option>东城区</option>
                        <option>海淀区</option>
                        <option>丰台区</option>
                    </select>
                    <tr>
                        <td class="text">监测日期:</td>
                        <td><input class="text" type="text" name="monitorTime" onfocus="FocusItem(this)"
                                   onblur="CheckItem(this),check(this.value);" /><span id="sp"></span></td>
                    </tr>
                    <tr>
                        <td class="text">PM10值:</td>
                        <td><input type="text" class="text" name="pm10" /></td>
                    </tr>
                    <tr>
                        <td class="text">PM2.5值:</td>
                        <td><input class="text" type="text" name="pm2.5" onfocus="FocusItem(this)"
                                   onblur="CheckItem(this);" /><span></span></td>
                    </tr>
                    <tr>
                        <td class="text">监测站:</td>
                        <td><input class="text" type="text" name="monitoringStation" onfocus="FocusItem(this)"
                                   onblur="CheckItem(this);" /><span></span></td>
                    </tr>
                    <td>最后更新时间：</td>
                        <td></td>
                        <td><label class="ui-green">
                            <input type="submit" name="submit" id="sub"   value="保存" />
                            <a href="add.jsp"> <input type="button" name="submit1" value="重置" /></a>
                            <a href="index.jsp"> <input type="button" name="submit2" value="返回" /></a>
                            </label></td>

                </tr>


        </table>
    </form>
</div>
</div>
</body>
</html>
